<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>angular contorller</title>
	<link rel="stylesheet" href="../libs/bootstrap/css/bootstrap.min.css">
	<script src="http://lib.sinaapp.com/js/angular.js/angular-1.2.19/angular.min.js"></script>
	<!-- <script src="../libs/jquery/jquery-3.1.0.min.js"></script> -->
</head>
<body>
  <div ng-app="myApp">	
		<div ng-controller="myController">	
		<!-- <input type="text" ng-model="name" placeholder="your name" ng-keyup="print()" id="input"> -->
		<table class="table">
			<thead>
				<tr>
					<td>序号</td>
					<td>名字</td>
					<td>性别</td>
					<td>年龄</td>
					<td>地址</td>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="item in persons">
					<td>{{ $index + 1 }}</td>
					<td>{{ item.name }}</td>
					<td>{{ item.sex }}</td>
					<td>{{ item.age }}</td>
					<td>{{ item.address }}</td>
				</tr>
			</tbody>
		</table>
	</div>
  </div>
	<script type="text/javascript" src="./main.js"></script>
</body>
</html>